package ecweb.domain.dto;

import java.io.Serializable;
import java.util.List;

import ecweb.domain.Order;

public class TOrderDetail implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Order orderInfo;
	private List<TGoodInOrderDetail> goods;
	
	public Order getOrderInfo() {
		return orderInfo;
	}
	public void setOrderInfo(Order orderInfo) {
		this.orderInfo = orderInfo;
	}
	public List<TGoodInOrderDetail> getGoods() {
		return goods;
	}
	public void setGoods(List<TGoodInOrderDetail> goods) {
		this.goods = goods;
	}
	
	public int getGoodCount() {
		return goods.size();
	}
	
}
